//
//  HomeHotCollectionViewCell.m
//  MJApp
//
//  Created by wangliang on 15/3/16.
//  Copyright (c) 2015年 wangliang. All rights reserved.
//

#import "HomeHotCollectionViewCell.h"
@interface HomeHotCollectionViewCell()
@property (weak, nonatomic) IBOutlet UILabel *priceLable;
@property (weak, nonatomic) IBOutlet UIImageView *imageView;

@end
@implementation HomeHotCollectionViewCell

- (void)awakeFromNib {
    // Initialization code
}
- (void)setInfoDic:(NSMutableDictionary *)infoDic{

    _infoDic = infoDic;
    if ([[infoDic cusObjectForKey:@"images"] count] > 0) {
        [self.imageView sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@%@",kUrl,[[infoDic cusObjectForKey:@"images"][0] cusObjectForKey:@"image"]]] placeholderImage:nil];
    }
    self.priceLable.text = [NSString stringWithFormat:@"RMB：%@",infoDic[@"price"]];
}
- (IBAction)clickBuy:(UIButton *)sender {
}
@end
